export interface loginFrom {
    mobile: string
    password: string,
}

export interface profileType {
    uid: number;
    mobile: string;
    username: string;
    avatar: string;
    gender: number;
    province: string;
    city: string;
    intro: string;
    integral: number;
    signNum: number;
    inviteUsers: any | null; // 根据需求替换为具体类型
    money: number; // 如果小数类型需要精确，可以使用 `string`
    lastLoginIp: string;
    tagStr: string[];
    type: number;
    follow: number;
    fans: number;
    postNum: number;
    email: string | null;
    vipExpireTime: string | null; // 如果需要时间类型，可以改为 `Date`
    vip: number;
    level: number;
    incomePercent: number;
    operatorWechatNo: string | null;
    authStatus: any | null; // 根据实际需求替换类型
    promotionCode: string;
    promotionEndDate: string; // 如果需要时间类型，可以改为 `Date`
    inviteUserNum: number;
    
    decoration:decorationType;
}

export interface decorationType{
    createTime: string,
    id: number | string,
    name:  string,
    price: number | string,
    url: number | string,
}

export interface userInfoType {
    msg?: string,
    userInfo: profileType,
    code: number | string,
    isPromotion: boolean,
    expire: number | string,
    token: string,
}

